package com.nbot.common;

import com.nbot.common.command.BaseCommand;

/**
 * 指令解释器抽象类
 */
public abstract class AbstractInterpreter implements Interpreter {
    public AbstractInterpreter() {
    }

    public AbstractInterpreter(BaseCommand baseCommand) {
        this.baseCommand = baseCommand;
    }

    public BaseCommand getBaseCommand() {
        return baseCommand;
    }

    public void setBaseCommand(BaseCommand baseCommand) {
        this.baseCommand = baseCommand;
    }

    private BaseCommand baseCommand;
}
